package com.alibaba.otter.manager.biz.config.datamediapair.dal.dataobject;

import com.alibaba.otter.manager.biz.dal.AbstractDO;
import com.alibaba.otter.shared.common.model.config.data.ColumnPairMode;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.sql.Timestamp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serial;
import java.time.Instant;

/**
 *  实体类。
 *
 * @author LCH
 * @since 2024-09-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "data_media_pair")
public class DataMediaPairDO extends AbstractDO {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    private Long pullWeight;

    private Long pushWeight;

    private String resolver;

    private String filter;

    private Long sourceDataMediaId;

    private Long targetDataMediaId;

    private Long pipelineId;

    private ColumnPairMode columnPairMode;


}
